<template>
  <view class="">
    <User-List :list="list" />
  </view>
</template>

<script type="text/ecmascript-6">
import UserList from 'pages/TaskDetail/components/taskUserPart/components/UserList';

export default {
  components: {
    UserList
  },

  computed: {
    list() {
      const row = this.$store.state.task.taskList.find(item => item.findKey === 'userList');
      return row && row.usersInfo || [];
    }
  }
};
</script>

<style lang="scss" scoped>
</style>
